import React from 'react';
import { Card, Image } from 'antd-mobile'
const Seckill = (props) => {
    const { seckillArr } = props;
    return (
        <div>
            <Card title='京东秒杀' />
            <ul style={{
                display: 'flex',
                // alignItems: 'center'
            }}>
                {
                    seckillArr.map(item => <li key={item.proid} style={
                        {
                            listStyle: 'none',
                            padding: '0 5px'
                        }
                    }>
                        <Image src={item.img1} height={'100px'} />
                        <p style={{
                            color: 'red'
                        }}>${item.originprice}</p>
                    </li>)
                }
            </ul>
        </div>
    );
}

export default Seckill;
